package com.dy.user.service;

import com.dy.basic.service.BaseService;
import com.dy.user.domain.User;
import com.dy.user.dto.EmailRegisterFormDto;
import com.dy.user.dto.PhoneRegisterFormDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dayong
 * @since 2023-03-04
 */
public interface IUserService extends BaseService<User> {

    // 手机注册用户的信息
    void addByPhone(PhoneRegisterFormDto phoneRegisterFormDto);

    // 邮箱注册
    void addByEmail(EmailRegisterFormDto emailRegisterFormDto);
}
